﻿using System.ComponentModel.Composition;
using System.Windows;
using TrackMe.Apps.Views;

namespace TrackMe.View.Frames
{
	[Export(typeof(IProjectEditView))]
	public partial class ProjEdit: IProjectEditView
	{
		public ProjEdit()
		{
			InitializeComponent();
		}

		public void Close()
		{
			var win = (Window)Parent;
			win.Content = null;
			win.DialogResult = true;
		}
	}
}
